<include file="Public/head" />
<link rel="stylesheet" href="__PUBLIC__/webuploader/css/webuploader.css" />

<body class="no-skin">
    <include file="Public/header" />
    <div class="main-container" id="main-container">
        <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {}
        </script>
        <include file="Public/sidebar" />
        <div class="main-content">
            <div class="main-content-inner">
                <!-- #section:basics/content.breadcrumbs -->
                <include file="Public/breadcrumbs" />
                <!-- /section:basics/content.breadcrumbs -->
                <div class="page-content">
                    <include file="Public/set" />
                    <!-- /section:settings.box -->
                    <div class="row">
                        <div class="col-xs-12">
                            <!-- PAGE CONTENT BEGINS -->
                            <form class="form-horizontal" id="cardset-form" name="cardset-form" method="post" action="{:U('editGoods')}">
                                <input type="hidden" name="id" value="{$info.id}">
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 抽奖类型 </label>
                                    <div class="col-sm-9">
                                        <select name="drawsid" id="drawsid" class="col-xs-10 col-sm-5">
                                            <option value="">请选择类型</option>
                                            {$luckDraws}
                                        </select>
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 奖品名称 </label>
                                    <div class="col-sm-9">
                                        <div class="clearfix">
                                          <input type="text" name="prize" id="prize" placeholder="奖品名称" class="col-xs-10 col-sm-5" value="{$info.prize}">
                                        </div>
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 中奖机率 </label>
                                    <div class="col-sm-9">
                                        <div class="clearfix">
                                          <input type="text" name="odds" id="odds" placeholder="中奖机率" class="col-xs-10 col-sm-5" value="{$info.odds}">
                                        </div>
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 奖品数量 </label>
                                    <div class="col-sm-9">
                                        <div class="clearfix">
                                          <input type="text" name="number" id="number" placeholder="奖品数量" class="col-xs-10 col-sm-5" value="{$info.number}">
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-offset-2 col-md-9">
                                    <button class="btn btn-info submit" type="submit"> <i class="icon-ok bigger-110"></i> 提交 </button>
                                    &nbsp; &nbsp; &nbsp;
                                    <a class="btn" href="{:U('goods')}"> <i class="icon-undo bigger-110"></i> 返回 </a>
                                </div>
                            </form>
                            <!-- PAGE CONTENT ENDS -->
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.page-content -->
            </div>
        </div>
        <!-- /.main-content -->
        <include file="Public/footer" />
    </div>
    <!-- /.main-container -->
    <include file="Public/footerjs" />
    <script src="__PUBLIC__/webuploader/js/webuploader.js"></script>
    <script type="text/javascript">
    // var serverurl = "{:U('/Admin/photo/upload',array('act'=>'luckgoods'))}";
    </script>
    <!-- inline scripts related to this page -->
    <!-- <script type="text/javascript" src="__PUBLIC__/admin/js/amall/luckdraw/add.js"></script> -->
</body>

</html>
